package moe.oil.entity;

import java.util.Optional;

public interface BaseEntity<D> {
    public D convert();

    default Optional<D> convertOptional() {
        return Optional.of(convert());
    }
}